package com.example.demo;

import com.example.demo.DBConnector;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

@Configuration
@Profile("test")
public class TestDBConnector implements DBConnector {
    @Override
    public void configure(){
        System.out.println("数据库配置环境test");
    }
}
